package com.hzdl.dao;

import com.hzdl.bean.Cost;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author: bxc
 * @date: 2018/9/7 0007
 * @description: 计费dao
 */
public interface CostDao {

    //获取历史欠费
    List<Cost> getAllCost(int aid);

    //更新历史缴费
    void updatePay(@Param("coid") int coid, @Param("number") int number, @Param("time") Date time, @Param("money") String money);

    List<Cost> getAllCosts();
}
